package com.sp.scmdb.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.sp.scmdb.common.DomainObject;

/**
 * 班制信息实体
 * @author maweiyue
 *
 */
@Entity
@Table(name = "OBJ_SHIFTS")
public class Shifts extends DomainObject {

	/** 班制名称 */
	@Column(name = "name", nullable = false)
	private String name;
	
	/** 是否跨天  0:否  1:是 */
	@Column(name = "isCrossDay")
	private String isCrossDay;

	/**
	 * 是否跨天取得
	 * @return 是否跨天  0:否  1:是
	 */
	public String getIsCrossDay() {
		return isCrossDay;
	}

	/**
	 * 是否跨天设置
	 * @param isCrossDay
	 */
	public void setIsCrossDay(String isCrossDay) {
		this.isCrossDay = isCrossDay;
	}

	/**
	 * 班次名称取得
	 * @return 班次名称
	 */
	public String getName() {
		return name;
	}

	/**
	 * 班次名称设置
	 * @param name
	 */
	public void setName(String name) {
		this.name = name;
	}
}
